<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="auto">
        <AsidePages :Cicon='isBoolean'></AsidePages>
      </el-aside>
      <el-container>
        <el-header>
         <HeaderPages v-model:Cicon='isBoolean'></HeaderPages>
        </el-header>
        <el-main><router-view></router-view></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import HeaderPages from "../views/Menu/HeaderPage.vue";
import AsidePages from "../views/Menu/AsidePage.vue";
const isBoolean = ref(false)
</script>

<style lang="less" scoped>
.el-main {
  height: calc(100vh - 100px);
}
.el-aside {
  background-color: #161719;
}
.el-header {
  padding: 0;
  height: 100px;
  background: #ffffff;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}
</style>
